package com.whw.fy.mapper;

import com.whw.fy.entity.Academic;
import org.apache.ibatis.annotations.Mapper;import org.apache.ibatis.annotations.Param;import java.util.List;

@Mapper
public interface AcademicMapper {
    int deleteByPrimaryKey(Integer academicId);

    int insert(Academic record);

    int insertSelective(Academic record);

    Academic selectByPrimaryKey(Integer academicId);

    int updateByPrimaryKeySelective(Academic record);

    int updateByPrimaryKey(Academic record);

    List<Academic> selectAll();

    List<Academic> selectAllByAcademicType(@Param("academicType") Integer academicType);
}